<template>
  <view class="success-wrapper">
    <view class="" v-html="guide"> </view>
    <!--加载动画-->
    <rfLoading isFullScreen :active="loading"></rfLoading>
  </view>
</template>
<script>
import { getconfig } from "@/api/login";
export default {
  data() {
    return {
      loading: true,
      guide: {},
    };
  },
  onLoad(options) {
    this.initData(options);
  },
  methods: {
    // 初始化数据
    initData() {
      this.getConfig();
    },
    async getConfig() {
      await this.$http
        .get(getconfig)
        .then((res) => {
          if (res.data) {
            this.loading = false;
            this.guide = res.data[1].value.content;
          }
        })
        .catch(() => {
          this.loading = false;
        });
    },
  },
};
</script>

<style lang="scss" scoped>
page {
  background: #fff;
}
.success-wrapper {
  background: #fff;
  height:100vh;
  padding: 20upx;
  border-top: 1px solid #eeeeee;
}
</style>